//
//  LoadingView.h
//  Community
//
//  Created by Hobo.Chen on 6/20/11.
//  Copyright 2011 MEET. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface LoadingView : UIView {

	UIView *backgroundView;
	UIImageView *imageView;
	UILabel *labelInfo;
	UIImageView *boardView;
	UIActivityIndicatorView *activityView;
}

- (void)autoHide;

- (void)setImage:(UIImage *)image;

- (void)setModelInView:(BOOL)value;

- (void)setInfo:(NSString *)info;

+ (void)showInView:(UIView *)view image:(UIImage *)image info:(NSString *)info 
		  animated:(BOOL)animated modeled:(BOOL)modeled autoHide:(BOOL)autoHide;

+ (void)hideWithAnimated:(BOOL)animated;

+ (void)showImage:(UIImage *)image info:(NSString *)info duration:(float)duration;

+ (void)showImage:(UIImage *)image info:(NSString *)info autoHide:(BOOL)autoHide;

+ (void)showDefaultLoadingView;

+ (void)showMessageLoadingViewWith:(NSString *)mes;

+ (void)showMessageLoadingViewWith:(NSString *)mes autoHide:(BOOL)autoHide;

//定时提示
+ (void)showDurationMessageLoadingViewWith:(float) duration message:(NSString *)mes;

+ (id)shareInstance;

@end
